package com.itbaiyun.jcinterface.service;

import com.itbaiyun.common.model.type.WeatherInfo;
import com.itbaiyun.project.common.BaseResponse;

import javax.servlet.http.HttpServletRequest;

/**
 * @author adorabled4
 * @className WeatherService
 * @date : 2023/04/15/ 17:19
 **/
public interface WeatherService {
    BaseResponse<WeatherInfo> getWeatherByCityName(String cityName);

    BaseResponse<WeatherInfo> getWeatherByRequest(HttpServletRequest request);
}